package com.fit.spring.boot.proxy.extension.interceptor;

import org.aopalliance.intercept.MethodInterceptor;

/**
 * 拦截器链
 * @author hcl
 *
 */
public class InterceptorChain {

	/**
	 * 下一个连接器链
	 */
	private InterceptorChain nextInterceptorChain;
	
	/**
	 * 拦截器
	 */
	private MethodInterceptor methodInterceptor;

	public InterceptorChain getNextInterceptorChain() {
		return nextInterceptorChain;
	}
	public void setNextInterceptorChain(InterceptorChain nextInterceptorChain) {
		this.nextInterceptorChain = nextInterceptorChain;
	}
	public MethodInterceptor getMethodInterceptor() {
		return methodInterceptor;
	}
	public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
		this.methodInterceptor = methodInterceptor;
	}
}
